package Beans;

import java.util.Arrays;

public class Course {

    private Integer num;
    private String cname;

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getNum() {
        return num;
    }

    public String getCname() {
        return cname;
    }
    @Override
    public String toString() {
        return
                "num=" + num +
                ", name='" + cname;
    }
}